package com.eas.ereceipt.app;

import android.os.Bundle;
import android.view.View;

import com.actionbarsherlock.app.SherlockActivity;
import com.eas.ereceipt.R;

public class ProfileActivity extends SherlockActivity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setUpActionBar();
		setContentView(R.layout.activity_user_profile);
	}
	
	private void setUpActionBar(){
		getSupportActionBar().setDisplayShowHomeEnabled(false);
		getSupportActionBar().setDisplayShowTitleEnabled(false);
		getSupportActionBar().setDisplayShowCustomEnabled(true);
		getSupportActionBar().setCustomView(R.layout.profile_ab);
	}
	
	public void onClick(View v){
		switch (v.getId()) {
		
		case R.id.btnBack:
			finish();
			break;
		case R.id.btnChangePass:
			changePass();
			break;
		case R.id.btnSaveChange:
			saveChange();
			break;

		default:
			break;
			
		}
	}

	private void saveChange() {
		
	}

	private void changePass() {
		
	}

}
